@echo off
SETLOCAL EnableExtensions
set EXE=GUI.exe
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto FOUND
goto FIN
:FOUND
start running.vbs
exit

:FIN
wscript.exe "hide_run.vbs" "server.bat"
cd..
start /W GUI.exe
taskkill /F /FI "WindowTitle eq  deemix_gui_server" /T
exit





